num=100
a=[]
n=10
for i in range(0,10):
    num/=2
    a.append(num)
print(100+sum(a))
print(a[9])